package com.xuecheng.api.media;


import com.xuecheng.framework.domain.media.request.QueryMediaFileRequest;
import com.xuecheng.framework.model.response.QueryResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * 视频查询接口
 */
@Api(value = "视频查询接口", tags = {"提供视频查询接口,提供视频查询"})
public interface MediaFileControllerApi {

    /**
     * 分页查询视频信息
     * @param page 当前第几页
     * @param size 每页显示多少
     * @param queryMediaFileRequest 可以携带参数查询
     * @return 返回数据
     */
    @ApiOperation("分页查询视频")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "page",value ="页码",paramType = "path"),
            @ApiImplicitParam(name = "size",value ="每页显示个数",paramType = "path")
    })
    QueryResponseResult<?> findList(int page, int size, QueryMediaFileRequest queryMediaFileRequest);
}
